package com.zb.service;

import com.zb.dto.HeapPoint;
import com.zb.dto.TrendPoint;
import com.zb.dto.TrendPoint2;
import com.zb.vo.BoardQuotaVO;
import com.zb.vo.PieVO;

import java.util.List;

public interface ReportService {

    List<PieVO> getStatusList();

    List<TrendPoint> getAlarmTrend(String start, String end, int type);

    List<HeapPoint> getTop10Alarm(String start, String end);

    List<String> getDeviceByQuota(String quotaId);

    /**
     * 某一个设备的指标,按设备指标查询指标值序列
     *
     * @param start
     * @param end
     * @param quotaId
     * @param deviceId
     * @param type
     * @return
     */
    List<TrendPoint2> getQuotaTrend(String start, String end, String quotaId, String deviceId, int type);

    /**
     * 最终实现自定面板的方法
     *
     * @param start
     * @param end
     * @param quotaId
     * @param devices
     * @param type
     * @return
     */
    BoardQuotaVO getBoardData(String start, String end, String quotaId, List<String> devices, int type);


}
